package com.dailyblue.java.spring.boot.shopping.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.java.spring.boot.commons.bean.JsonResult;
import com.dailyblue.java.spring.boot.shopping.bean.Goods;

public interface GoodsService extends IService<Goods> {

    JsonResult findAll();

    JsonResult findById(int id);

    JsonResult add(int id);

    JsonResult add2(int id);


    JsonResult findAllGwc();

    JsonResult deleteById(int id);

    JsonResult updateCartNum(int id, int num);
}
